define("tiny_formatting/plugin",["exports","./common"],(function(_exports,_common){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;var _default=new Promise((async resolve=>{resolve([_common.pluginName,{configure:instanceConfig=>{return{menu:(menu=instanceConfig.menu,window.console.log("Starting menu management for ".concat(menu.format.items)),menu.format.items.match(/\bblocks\b/)?menu.format.items=menu.format.items.replace(/(\bblocks\b)/," styles $1 fontfamily fontsize"):menu.format.items="".concat(menu.format.items," | fontfamily fontsize"),menu.format.items.match(/\blanguage\b/)?menu.format.items=menu.format.items.replace(/(\blanguage\b)/," forecolor backcolor | $1"):menu.format.items="".concat(menu.format.items," | forecolor backcolor"),window.console.log("Finished menu management for ".concat(menu.format.items)),menu)};var menu}}])}));return _exports.default=_default,_exports.default}));

//# sourceMappingURL=plugin.min.js.map